SureTax Returns API
GET Upload Request Status
Overview
This API endpoint allows users to retrieve the status of a specific upload process and obtain detailed error messages for any tax items that may have inconsistencies. By querying this endpoint, users can monitor the progress of their upload requests, identify any tax items that failed to upload correctly, and access error messages to troubleshoot and resolve issues effectively. This functionality facilitates seamless data management and ensures the integrity of tax item uploads within the system.
OperationId: GET Upload Request Status
Authorization Method(s): OAuth
Verb: GET
End Point: /api/v1/Forms/UploadRequestStatus
Overview
Example Response
{
"data": [
{
"uploadStatus": "2",
"message": "null",
"totalNumberOfLines": "1",
"itemsWithMessages": [
{
"companyCode": "XAX",
"documentNumber": "8111100778",
"fiscalYear": "2024",
"itemNumber": "1",
"message": "Duplicate invalid record 2 times",
"itemStatus": "E"
}
]
}
]
}| code | description |
|---|---|
| 200 | The API responds to the current upload status and errors if they exist. Success Response - 200 OK. The API will respond the status with a list of messages and their information. |
| 204 | 204 No Content If no records are found for the provided request, the API will respond with a No Content status. |
| 400 | Bad Request - The server could not process the request due to invalid input or missing required parameters. |
| 401 | 401 Unauthorized: The user's authentication is not valid. |
| 500 | Internal Server Error - An unexpected error occurred on the server while processing the request. |